package com.hjxr.sysadmin.zsj.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hjxr.framework.aspectj.lang.annotation.Excel;
import com.hjxr.sysadmin.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 招商活动信息对象 activity
 *
 * @author xk
 * @date 2021-03-23
 */
public class Activity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动ID */
    private Long activityId;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String activityName;

    /** 活动状态 */
    @Excel(name = "活动状态")
    private String activityStatus;

    /** 活动开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date activityStarttime;

    /** 活动结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date activityEndtime;

    /** 活动内容 */
    @Excel(name = "活动内容")
    private String activityContent;

    /** 活动地址 */
    @Excel(name = "活动地址")
    private String activityAddress;

    /** 活动图片 */
    @Excel(name = "活动图片")
    private String activityPhoto;

    /** 活动发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date activityFbtime;

    /** 是否撤销(1为否,0为是) */
    @Excel(name = "是否撤销(1为否,0为是)")
    private String ifCancel;

    /** 撤销时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "撤销时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cancelTime;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedTime;

    /** 活动主办单位 */
    @Excel(name = "活动主办单位")
    private String activitySponsor;

    public void setActivityId(Long activityId)
    {
        this.activityId = activityId;
    }

    public Long getActivityId()
    {
        return activityId;
    }
    public void setActivityName(String activityName)
    {
        this.activityName = activityName;
    }

    public String getActivityName()
    {
        return activityName;
    }
    public void setActivityStatus(String activityStatus)
    {
        this.activityStatus = activityStatus;
    }

    public String getActivityStatus()
    {
        return activityStatus;
    }
    public void setActivityStarttime(Date activityStarttime)
    {
        this.activityStarttime = activityStarttime;
    }

    public Date getActivityStarttime()
    {
        return activityStarttime;
    }
    public void setActivityEndtime(Date activityEndtime)
    {
        this.activityEndtime = activityEndtime;
    }

    public Date getActivityEndtime()
    {
        return activityEndtime;
    }
    public void setActivityContent(String activityContent)
    {
        this.activityContent = activityContent;
    }

    public String getActivityContent()
    {
        return activityContent;
    }
    public void setActivityAddress(String activityAddress)
    {
        this.activityAddress = activityAddress;
    }

    public String getActivityAddress()
    {
        return activityAddress;
    }
    public void setActivityPhoto(String activityPhoto)
    {
        this.activityPhoto = activityPhoto;
    }

    public String getActivityPhoto()
    {
        return activityPhoto;
    }
    public void setActivityFbtime(Date activityFbtime)
    {
        this.activityFbtime = activityFbtime;
    }

    public Date getActivityFbtime()
    {
        return activityFbtime;
    }
    public void setIfCancel(String ifCancel)
    {
        this.ifCancel = ifCancel;
    }

    public String getIfCancel()
    {
        return ifCancel;
    }
    public void setCancelTime(Date cancelTime)
    {
        this.cancelTime = cancelTime;
    }

    public Date getCancelTime()
    {
        return cancelTime;
    }
    public void setModifiedTime(Date modifiedTime)
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime()
    {
        return modifiedTime;
    }
    public void setActivitySponsor(String activitySponsor)
    {
        this.activitySponsor = activitySponsor;
    }

    public String getActivitySponsor()
    {
        return activitySponsor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("activityId", getActivityId())
            .append("activityName", getActivityName())
            .append("activityStatus", getActivityStatus())
            .append("activityStarttime", getActivityStarttime())
            .append("activityEndtime", getActivityEndtime())
            .append("activityContent", getActivityContent())
            .append("activityAddress", getActivityAddress())
            .append("activityPhoto", getActivityPhoto())
            .append("activityFbtime", getActivityFbtime())
            .append("ifCancel", getIfCancel())
            .append("cancelTime", getCancelTime())
            .append("modifiedTime", getModifiedTime())
            .append("activitySponsor", getActivitySponsor())
            .toString();
    }
}
